import java.io.Serializable;
import java.lang.String;
import java.util.Date;


public class Article implements Serializable{

	int cle;
	float prix;
	String description;
	Date date;
	TypesdArticle montype;
	String auteur;
	int quantite;
	
	public Article(int cle, float prix, String desc,TypesdArticle type,String aut, int qte){
		this.cle=cle;
		this.prix=prix;
		this.description=desc;
		this.date=null;
		this.montype=type;
		this.auteur=aut;
		this.quantite=qte;
	}

	public int getCle() {
		return cle;
	}

	public void setCle(int cle) {
		this.cle = cle;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public float getPrix() {
		return prix;
	}

	public void setPrix(float prix) {
		this.prix = prix;
	}

	public TypesdArticle getMontype() {
		return montype;
	}

	public void setMontype(TypesdArticle montype) {
		this.montype = montype;
	}

	public String getAuteur() {
		return auteur;
	}

	public void setAuteur(String auteur) {
		this.auteur = auteur;
	}

        public int getQuantite (){
            return this.quantite;
        }

        public void setQuantite (int qte){
            this.quantite=qte;
        }
}
